/*************************************************************
 * Title: 
 * Description: 
 * Author: Snow Huang
 * Email: Shaobin.Software@gmail.com Shaobin_Software@163.com
 * CreateTime: 2010-7-26 下午09:10:46
 * Copyright © 落羽社区 All right reserved
 ************************************************************/
package snow.core.domain.action;

/**
 * 
 */
public class Information {

	private String code;
	private String message;
	private String solutions;

	private static Information successInformation;

	public Information(String code, String message, String solutions) {
		this.code = code;
		this.message = message;
		this.solutions = solutions;
	}

	public static Information getSuccessInformation() {
		if (successInformation == null) {
			successInformation = new Information("0", "success.system.operation", "success.system.solutions");
		}
		return successInformation;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @return the solutions
	 */
	public String getSolutions() {
		return solutions;
	}
}
